package com.jkoss.wine.shop.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;


/**
 * 
 * 
 * @Author Jason
 * @Version 1.0, 2018-10-06
 * @See
 * @Since com.jkoss.wine.shop.entity
 * @Description: TODO
 */
@TableName("product_pics")
public class ProductPics extends Model<ProductPics> {

    private static final long serialVersionUID = 1L;

    @TableField("product_id")
    private String productId;
    @TableField("shop_asset_url")
    private String shopAssetUrl;
    @TableField("parent_id")
    private String parentId;


    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getShopAssetUrl() {
        return shopAssetUrl;
    }

    public void setShopAssetUrl(String shopAssetUrl) {
        this.shopAssetUrl = shopAssetUrl;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "ProductPics{" +
        ", productId=" + productId +
        ", shopAssetUrl=" + shopAssetUrl +
        ", parentId=" + parentId +
        "}";
    }
}
